package guoanmaker.personal.business.modelnobind;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnore;

import guoanmaker.personal.business.model.PersonalUser;
import guoanmaker.personal.helper.common.abstractobj.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
 * 
* @ClassName: PersonalInvoiceForUser 
* @Description: 发票业务bean  在多对一里配置@JsonIgnore,解决查询用户时,发票信息里继续返回用户信息导致的死循环内存溢出
* @author Yvonne_MGL
* @date 2017年7月6日 下午3:49:20 
*  
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class PersonalInvoiceForUser{
	private String invoiceName;//单位名称
	private String taxNumber;//纳税人识别号
	private String invoiceType;//发票类型  0为普通发票   1为专用发票
	private String telephone;//注册电话
	private String address;//注册地址
	private String bankName;//开户银行
	private String bankNumber;//银行账户
	private String businessLicensePic;//营业执照副本图片上传地址
	private String businessPic;//营业执照图片上传地址 
	private String isdefault;//是否为默认收货地址,1为是,0为否
	private String id;//发票id
}
